changed harcoded values for objects generating text