beginning of code lol