change function modifier to default