some code for the beginning