draw mathod created