emulate long computation