[-] remove legacy code