Some tests with esp fixed. Need more brain