getting closer to making it work