switched double for single ticks
added get_keys()