starting working on funcionality