was calling wrong function--fixed that