Work in progress to make the constructor work