Added chains and cursor