added model for puzzle