First version of halloween code