added >0 to conditional