added 2 plotting methods for readability