#50 amount() is triggered as part of ready()
#48 updating examples
#48 including groups in the amount() logic