got everything to compile (hw8)