adding put check