refactored the driver method