Implementation for get method
Style fix