check value function + fix resposivity