code is optimized and organised