Add check for maximum amount