[IMP] : code to get action