implemented amount entry to test