start working on events backend part