final version for Samsung Galaxy Competition