private public functionailty added