pass type info into calls