wrote a lotta code, it does some things