improving puzzle creation