random choice functionality added