allow specifying a custom amount