convert element almost complete. waiting on due diligence of unit testing on convertElement method