Completed printing and pull functions for assignments