added strings and loop working