copies over annotations from another class
code cleanup