Removed refresh loop