for numbers, colours,shapes functionality (reverted from commit b4a2824d76a272874cbaf12c72e26b95e265302e)