basic functionality for mwpc ready
 some more logic