added delay to button listen and hashmaps fully used now