add check for zero value