got rid of formattednow and due to make cursor work