Use constructor functions for better practice