put things in functions