changed recipe object construction from database