called parent constructor in model constructors