Minor bug: periods was not being used.