functions not getting loaded