eclipse
raw logic finished, no optimization