Add missing new line
Define all needed functions