still having an issue with sample-main.js