doing level saving stuff