Add empty function and prettify code