added chrome test
re-organized codes