hw8 stuff working