debug assignment added and functioning.