working first prototype, have to verify functionality