Applying solidity version 0.8.7 for better stability since 0.8.16 is considered too new to be deemed stable.