template splitted into 2 parts