stored logic in object