getting closer

still buggy. working on code to figure it out