A method of using a biocompatible polymer is used. Biocompatible polymers are manufactured to include an ammo acid mimetic monomer and one or more hydrophobic acrylate monomers. The amino acid mimetic monomers are selected to mimic the side chain of the amino acids asparagine or glutamine. The amino acid mimetic monomer can be a methacryloyl or acryloyl derivative of 2-hydroxyacetamide, 3-hydroxypropionamide, alaninamide, lactamide, or glycinamide. These amide functional groups offer the advantage of moderate hydrophilicity with little chemical reactivity. The amino acid mimetic monomer can be copolymerized with one or more hydrophobic acrylate monomers to obtain desired coating properties.