made function names memory management