Removed unnecessary notes code