State variables for Solidity

Always returns 1. Work in progress?