Adding storage type to constructor