finally figured out how to get the constuctor to work