refactors bakery form get into two methods