some work for sequential prototype done