tmp solution to get value for input to pass through