Added delete (non-functional). Added comments where appropriate. Creditted creators