intelliJ is not allowing my getSeconds() method to work, not sure why.