Cleaned comments, removed unnecessary 'if' statement