Construction ondropdown

Ok, trying to figure out how decompiling works. Probably should not merge this without checking the source code to see if I did it properly.