changed seconds stuff and added console logs