added simple method to get seconds