implement console map