added name to constructor