get rid of hard coded attributes