needed to fix an mis called method