worked on code samples