adding functions helpers