making the attributes requried