A UE device (116, 117, 118) for a cellular communication system, wherein the UE device (116, 117, 118) is configured to, when the UE device (116, 117, 118) is out of a coverage of a base station configured to provide wireless communication services to the UE device (116, 117, 118): select a set of out-of-coverage D2D communication resources (302, 304) from a plurality of sets of out-of-coverage D2D communication resources (302, 304), the selected set being associated with a priority level equal to a communication priority level of a D2D group (123, 124) to which the UE device (116, 117, 118) belongs, wherein the plurality of sets of out-of-coverage D2D communication resources (302, 304) are static and preconfigured, and each of the plurality of sets is associated with a preconfigured priority level, wherein the plurality of sets of out-of-coverage D2D communication resources (302, 304) are for use for D2D communication by D2D UE devices (116, 117, 118) that are out-of-coverage with the base station, wherein the plurality of sets of out-of-coverage D2D communication resources (302, 304) are subsets of out-of-coverage D2D communication resources which are a subset of reserved D2D communication resources which are a subset of defined uplink communication resources for use for uplink communication between D2D UE devices (116, 117, 118) and the base station, wherein the reserved D2D communication resources are for use for D2D communication between the D2D UE devices, and wherein the plurality of sets of out-of-coverage D2D communication resources (302, 304) are time-frequency resources; select a part of the out-of-coverage D2D communication resources (306, 308) from the selected set of the out-of-coverage D2D communication resources (302, 304); and perform a D2D communication in the D2D group (123, 124) by using the selected part of the out-of-coverage D2D communication resources (306, 308) of the selected set. select a set of out-of-coverage D2D communication resources (302, 304) from a plurality of sets of out-of-coverage D2D communication resources (302, 304), the selected set being associated with a priority level equal to a communication priority level of a D2D group (123, 124) to which the UE device (116, 117, 118) belongs, wherein the plurality of sets of out-of-coverage D2D communication resources (302, 304) are static and preconfigured, and each of the plurality of sets is associated with a preconfigured priority level, wherein the plurality of sets of out-of-coverage D2D communication resources (302, 304) are for use for D2D communication by D2D UE devices (116, 117, 118) that are out-of-coverage with the base station, wherein the plurality of sets of out-of-coverage D2D communication resources (302, 304) are subsets of out-of-coverage D2D communication resources which are a subset of reserved D2D communication resources which are a subset of defined uplink communication resources for use for uplink communication between D2D UE devices (116, 117, 118) and the base station, wherein the reserved D2D communication resources are for use for D2D communication between the D2D UE devices, and wherein the plurality of sets of out-of-coverage D2D communication resources (302, 304) are time-frequency resources; wherein the plurality of sets of out-of-coverage D2D communication resources (302, 304) are static and preconfigured, and each of the plurality of sets is associated with a preconfigured priority level, wherein the plurality of sets of out-of-coverage D2D communication resources (302, 304) are for use for D2D communication by D2D UE devices (116, 117, 118) that are out-of-coverage with the base station, wherein the plurality of sets of out-of-coverage D2D communication resources (302, 304) are subsets of out-of-coverage D2D communication resources which are a subset of reserved D2D communication resources which are a subset of defined uplink communication resources for use for uplink communication between D2D UE devices (116, 117, 118) and the base station, wherein the reserved D2D communication resources are for use for D2D communication between the D2D UE devices, and wherein the plurality of sets of out-of-coverage D2D communication resources (302, 304) are time-frequency resources; select a part of the out-of-coverage D2D communication resources (306, 308) from the selected set of the out-of-coverage D2D communication resources (302, 304); and perform a D2D communication in the D2D group (123, 124) by using the selected part of the out-of-coverage D2D communication resources (306, 308) of the selected set.