need to parse applications first