seems that console works for now, TODO some unit test