Added top function, cleared comments up