updated model with default int and fixed typo