got initial slosh code working