refactors getters for setInterval on server