Removed debug lines and completed task