brute force reversing seems to work (minimum implementation done)