Code improvements & Implementing Multiple Cast Input system