failing test
switch type to int