better typing