setting the correct type