Added input in cocoa