added solution v1
updated templates