personal function

setting up functions