Simplified access loop code