begining of design part