you could use these methods instead of the || 0 thing perhaps