added the constructor