Not sure sure whether it's a good idea here to use goto.