kill unused code
http rest