More modification on program cs