Trying to implement output