move hard coded stuff into an attribute