updated with new pastek_core module
fixed print layout