Now properly creating labels and saving them in the RDBMS