Removed sleep statement