logic finished
logic finished