Part A idea is done