Added very basic loop as fallback