implementation of design and functionality