Create proper end