Code and preview added