slimming down constructor