checks if it works