make the add elements functional. now just have to make it look decent...