He also attended geometry lectures by Steiner and astronomy lectures by J F Encke the director of the observatory

Please fix the punctuation.
He also attended geometry lectures by Steiner , and astronomy lectures by J F Encke, the director of the observatory.