added custom conversion operators, changed the type to a more meaningful name