added labels

removed comments and panic

added recognizing labels