map creating basic logic