using only input to format mask