i just took of my old ceiling lamp in order to finally install a new one. the cables from the ceiling were attached to a connecter kind of thing, which was connected to the lamp cables. i unfortunately removed the connecter and now can't figure out which cables need to go where.

out of the ceiling: 4 cables, black and red & black and red.

out of my lamp: 2 cables, 1 blue, 1 brown

i somehow need to attach them all to the connecter to get light and to get a connection to the light switch.

what to do??

your advice will be much appreciated!!!!!!!!