potential error if variable not reached