get and draw details