Added working basic load function