adding in fixing seconds bug