code refresh

needed cleaning up.