Subgoals

@Evangielis  Please review