set default constructor in case