got the thing to work properly