Added correct indetation for functions.