forgot to implement second smart joy constructor