code refactored by removing souts