Added comments so you understand my brain