solution 1
use goto