Added custom logY func