Added simple client: only getAmount from main method