made case statement which only returns coins when there are more than 0