inlined fucntion only used in a function which i dont know if we will use
modularized left menu methods