working on version 1 of the front-end