Added code and preview