forgot to add one type cast