function and loops, started function as a object