Fixed package name and Math.random