added: reads parameters but draws very slowly