Draw logic added to try function