Added base code for level