removed unnecessary weights vector