first revision of setup not quite working