implementing console module