added main functionality from template
final twitter chitter test submission