Updated template with graph and application