added to constructor