cleanup parameters and return simple bool result
can now remove checks and there is a shell helper for mem profiling