implemented Sheet class on mac