adding assignment and other codes