creation constructor + fix controller