moving file to proper spot and added deprecated warning to old function