removes hard coded elements argh