changed surface type from string to int