finally getting something that works