added hacky note code