added functions to project Loops