added instructions and code