added little function for deck