added code for not having a label