changed stylistic conventions and created expansion method